package xyz.labmem.main.modular.app.gmjj.entity

import com.alibaba.excel.annotation.format.DateTimeFormat
import com.alibaba.excel.annotation.ExcelProperty
import com.baomidou.mybatisplus.annotation.TableField
import com.baomidou.mybatisplus.annotation.TableName
import com.fasterxml.jackson.annotation.JsonFormat
import com.fasterxml.jackson.annotation.JsonInclude
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import xyz.labmem.base.core.annotion.DynamicChartColumn
import xyz.labmem.base.core.annotion.SocketPath
import xyz.labmem.base.core.annotion.SqlColumn
import xyz.labmem.base.core.base.GFBaseEntity
import java.util.*

/**
 * @Author lty
 * @Date 2022/1/21 17:22
 */
@SocketPath("true",order=19,isChart=true)
@TableName("fgw_sgdqy")

@ApiModel(value = "发改委_输供电企业")
class App_fgwsgdqy : GFBaseEntity<App_fgwsgdqy>() {

    @TableField("tbrq")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat("yyyy-MM-dd")
    @ApiModelProperty(value = "填表日期")
    @ExcelProperty("填表日期")
    var tbrq: Date? = null

    @TableField("SSXQ")
    @ApiModelProperty(value = "所属辖区")
    @ExcelProperty("所属辖区")
    var ssxq: String? = null

    @SqlColumn(unit = true)
    @TableField("dwmcy")
    @ApiModelProperty(value = "单位详细名称")
    @ExcelProperty("单位详细名称")
    var dwmcy: String? = null

    @TableField("LSGX")
    @ApiModelProperty(value = "隶属关系")
    @ExcelProperty("隶属关系")
    var lsgx: String? = null

    @SqlColumn
    @TableField("FGQY")
    @ApiModelProperty(value = "覆盖区域")
    @ExcelProperty("覆盖区域")
    var fgqy: String? = null

    @SqlColumn
    @TableField("DWXXDZ")
    @ApiModelProperty(value = "单位详细地址")
    @ExcelProperty("单位详细地址")
    var dwxxdz: String? = null

    @TableField("JD")
    @ApiModelProperty(value = "经度")
    @ExcelProperty("经度")
    var jd: String? = null

    @TableField("WD")
    @ApiModelProperty(value = "纬度")
    @ExcelProperty("纬度")
    var wd: String? = null

    @SqlColumn
    @TableField("DWFZR")
    @ApiModelProperty(value = "单位负责人")
    @ExcelProperty("单位负责人")
    var dwfzr: String? = null

    @SqlColumn
    @TableField("LXFS")
    @ApiModelProperty(value = "联系方式")
    @ExcelProperty("联系方式")
    var lxfs: String? = null

    @DynamicChartColumn("变电站-1000KV以上",order = 1,unit="座")
    @TableField("bdz1000kvys")
    @ApiModelProperty(value = "变电站(座)-1000KV以上(含)")
    @ExcelProperty("变电站（座）-1000KV以上（含）")
    var bdz1000kvys: Int? = 0

    @DynamicChartColumn("变电站-750KV",order = 2,unit="座")
    @TableField("bdz750kv")
    @ApiModelProperty(value = "变电站(座)-750KV")
    @ExcelProperty("变电站（座）-750KV")
    var bdz750kv: Int? = 0

    @DynamicChartColumn("变电站-500KV",order = 3,unit="座")
    @TableField("bdz500kv")
    @ApiModelProperty(value = "变电站(座)-500KV")
    @ExcelProperty("变电站（座）-500KV")
    var bdz500kv: Int? = 0

    @DynamicChartColumn("变电站-220KV",order = 4,unit="座")
    @TableField("bdz220kv")
    @ApiModelProperty(value = "变电站(座)-220KV")
    @ExcelProperty("变电站（座）-220KV")
    var bdz220kv: Int? = 0

    @DynamicChartColumn("变电站-110KV",order = 5,unit="座")
    @TableField("bdz110kv")
    @ApiModelProperty(value = "变电站-110KV")
    @ExcelProperty("变电站（座）-110KV")
    var bdz110kv: Int? = 0

    @DynamicChartColumn("变电站-110KV以下",order = 5,unit="座")
    @TableField("bdz110kvyx")
    @ApiModelProperty(value = "变电站(座)-110KV以下")
    @ExcelProperty("变电站（座）-110KV以下")
    var bdz110kvyx: Int? = 0

    @TableField("ZBDRL（WQFA）")
    @ApiModelProperty(value = "总变电容量(万千伏安)")
    @ExcelProperty("总变电容量（万千伏安）")
    var zbdrl: String? = null

    @TableField("ZXLCD（QM）")
    @ApiModelProperty(value = "总线路长度(千米)")
    @ExcelProperty("总线路长度（千米）")
    var zxlcd: String? = null

    @TableField("DWZGFH（WQW）")
    @ApiModelProperty(value = "电网最高负荷(万千瓦)")
    @ExcelProperty("电网最高负荷（万千瓦）")
    var dwzgfh: String? = null

    @TableField("NGDL（YQWS）")
    @ApiModelProperty(value = "年供电量(亿千瓦时)")
    @ExcelProperty("年供电量(亿千瓦时)")
    var ngdl: String? = null

    @TableField("DLQXDW_DWS（Z）")
    @ApiModelProperty(value = "电力抢修队伍-队伍数(支)")
    @ExcelProperty("电力抢修队伍-队伍数（支）")
    var dlqxdwdws: String? = null

    @TableField("DLQXDW_ZRS（R）")
    @ApiModelProperty(value = "电力抢修队伍-总人数(人)")
    @ExcelProperty("电力抢修队伍-总人数（人）")
    var dlqxdwzrs: String? = null

}